<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/13
  Time: 16:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>

    <style>
        body{
            margin: 0;
            padding: 0;
        }
        h2{
            width: 100px;
            margin: auto;
        }
        table{
            width: 250px;
            border-collapse: collapse;
            height: 60px;
        }
        tr{
            border-bottom: 1px solid;
        }
        th{
            border-right: 1px solid;
            padding: 0;
        }
        div{
            width: 249px;
            height: 93px;
            margin: auto;
            border: 1px solid;
            margin-top: 29px;
        }
        button{
            margin-left: 54px;
            margin-top: 7px;
            background: white;
            border: 1px solid gray;
            border-radius: 6px;
            outline: none;
        }
        input{
            outline: none;
            width: 100px;
        }
        button:hover{
            background: #0000FF;
        }
        a{
            text-decoration: none;
            color: black;
            font-size: 14px;
            margin-left: 50px;
            border: 1px solid;
            border-radius: 6px;
        }
        a:hover{
            background: blue;
            cursor:default;
        }
    </style>
</head>
<body>
    <h2>用户登录</h2>
    <div>
        <table>
            <tr>
                <th>用户名：</th>
                <th><input name="username" id="username" type="text"></th>
            </tr>
            <tr>
                <th>密 码：</th>
                <th><input name="password" id="password" type="password"></th>
            </tr>
        </table>

        <button id="login">登录</button>
        <a href="/register/toRegisterPage">去注册</a>

    </div>

</body>
<script type="text/javascript" charset="utf-8" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/login.js"></script>

</html>
